package org.javaboy.business.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient("storage")
public interface StorageService {
    @PostMapping("/deduce")
    Map<String, Object> deduce(@RequestParam("commodityCode") Integer commodityCode, @RequestParam("count") Integer count);
}
